import sdk from './sdk.js'
import expand from './expand.js'
import component from './component.js'
// import VueQuillEditor from 'vue-quill-editor'
// import 'quill/dist/quill.core.css' // import styles
// import 'quill/dist/quill.snow.css' // for snow theme
// import 'quill/dist/quill.bubble.css' // for bubble theme
// import {
// 	BootstrapVue,
// 	IconsPlugin
// } from 'bootstrap-vue'
uni.db = {
  get(key) {
    var value
    try {
      value = uni.getStorageSync(key)
    } catch (e) {}
    return value
  },
  set(key, value) {
    try {
      uni.setStorageSync(key, value)
    } catch (e) {
      value = null
    }
    return value
  },
  del(key) {
    try {
      uni.removeStorageSync(key)
    } catch (e) {}
  },
}
export default {
  install(Vue, options) {
    Vue.use(component, options)
    // Vue.use(BootstrapVue);
    // Vue.use(IconsPlugin);
    // Vue.use(VueQuillEditor, options)
  },
}
